package OOP.day09.CompanyDemo;

import OOP.day09.CompanyDemo.Inter.CompileBook;
import OOP.day09.CompanyDemo.Inter.ManageDepart;

public class Major extends Staff implements ManageDepart, CompileBook {
    public Major() {
    }

    public Major(String name, int age, double salary) {
        super(name, age, salary);
    }

    @Override
    public void workOn() {
        System.out.println("教研总监" + name + "在工作");
    }

    @Override
    public void workOff() {
        System.out.println("教研总监" + name + "下班了");
    }

    @Override
    public void workDown() {
        System.out.println("教研总监" + name + "完成了工作");
    }

    @Override
    public void solveProblem() {
        System.out.println("教研总监" + name + "解决了企业问题");
    }

    @Override
    public void trainStaff() {
        System.out.println("教研总监" + name + "在培训企业员工");
    }

    @Override
    public void editCompile() {
        System.out.println("教研总监" + name + "在编辑书籍");
    }
}
